home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
windows
/
games
/
wincapt.arj
/
WINCAP.H
< prev
next >
Wrap
Text File
|
1992-07-07
|
2KB
|
85 lines
/* Header file for wincap.c */
/* Copyright (c) 1991 Microsoft Corporation. All rights reserved. */
//
// constants for menu items
//
#define IDM_SAVE 110
#define IDM_PRINT 120
#define IDM_EXIT 130
#define IDM_ABOUT 140
#define IDM_CAPTWINDOW 210
#define IDM_CAPTCLIENT 220
#define IDM_CAPTRECT 230
#define IDM_CAPTUREHIDE 240
#define IDM_ACTIVEWINDOW 250
#define IDM_DESKTOP 260
#define IDM_VIEWFULL 310
#define IDM_VIEWRESTORED 320
#define IDM_VIEWCLEAR 330
// Constants for string table
#define IDS_SAVEASTITLE 1
#define OPTION_FILE 0x0001
#define OPTION_PRINTER 0x0002
// For common dialog file/save
#define IDD_FILETYPE 101
#define IDD_RGB 102
#define IDD_RLE4 103
#define IDD_RLE8 104
#define IDD_PM 105
#define IDD_1 106
#define IDD_4 107
#define IDD_8 108
#define IDD_24 109
#define IDD_FILETYPEGROUP 110
#define IDD_BPP 111
// Stuff for "File.Print" dialog
typedef struct tagOPTIONS {
int iOption; // Print Options
int iXScale; // X scale factor (if iOption is DLGPRINT_SCALE)
int iYScale; // Y scale factor ('')
} OPTIONSTRUCT;
typedef OPTIONSTRUCT FAR *LPOPTIONSTRUCT;
/*
* function prototypes
*/
void cwCenter(HWND, int);
LONG FAR PASCAL WndProc(HWND, WORD, WORD, LONG);
BOOL FAR PASCAL PrintDlgProc(HWND, WORD, WORD, LONG);
BOOL FAR PASCAL AboutDlgProc(HWND, WORD, WORD, LONG);
int FAR PASCAL InstallHook (HWND hWnd, BOOL bCode );
BOOL FAR PASCAL HelpDlgProc(HWND, WORD, WORD, LONG);
BOOL FAR PASCAL SavingDlgProc(HWND, WORD, WORD, LONG);
BOOL GetFileName (HWND hWndOwner, LPSTR szFileName, LPDWORD dwFlags);
void DrawIndent(HWND hDlg, int ID, int iType);
void StretchIconToWindow(HWND hWndDlg, LPSTR szIconName);
void DoCapture(HWND hWnd, WORD wCommand);
void RubberBandScreen(LPRECT lpRect);
void DrawSelect( HDC hdc, BOOL fDraw, LPRECT lprClip);
void PASCAL NormalizeRect (LPRECT prc);
HWND SelectWindow(void);
LONG FAR PASCAL FullViewWndProc(HWND, WORD, WORD, LONG);
void SaveMe(void);
void PrintMe(void);
void DoSize(HWND);
void ReallyGetClientRect(HWND, LPRECT);
void SetupScrollBars(HWND, WORD, WORD);
void DoScroll(HWND, int, WORD, WORD);
void DoPaint(HWND);